import {get,post} from "@/components/utils/request";


// 可以照着这样写请求，页面调用
//请求传递
export const findOrder = (driverId) => get("historyorder/historyorder/findOrder?driverId="+driverId);
// export const findUser = (userId) => get("historyorder/historyorder/findUser?userId="+userId);

export const addFeedBack=(data) => post("historyorder/historyorder/addFeedBack",data);

export const findFeedBack=(orderId) => get("historyorder/historyorder/findFeedBack?orderId="+orderId);

export const addAppraise=(data) => post("historyorder/historyorder/addAppraise",data);

export const findAppraise=(orderId) => get("historyorder/historyorder/findAppraise?orderId="+orderId);


export const getmonth=()=>get("historyorder/historyorder/getmonth");


export const getorderMoney=(order)=>post("historyorder/historyorder/getorderMoney",order);

export const getdrivermoney=(jg)=>get("historyorder/historyorder/getdrivermoney?jg="+jg);
